package com.example.demoofimagedownloadapp.bean;

import android.graphics.Bitmap;

/**
 * @author Rowen/huiguo.ren
 */
public class MessageEvent {
    private String message;
    private Bitmap bitmap;
    private int progress;
    public MessageEvent(String message) {
        this.message = message;
    }
    public MessageEvent(String message, Bitmap bitmap) {
        this.message = message;
        this.bitmap = bitmap;
    }
    public MessageEvent(String message, int p) {
        this.message = message;
        this.progress = p;
    }

    public String getMessage() {
        return message;
    }
    public Bitmap getBitmap() {
        return bitmap;
    }
    public int getProgress() {
        return progress;
    }
    public void setMessage(String message) {
        this.message = message;
    }
    public void setMessage(String message,Bitmap bitmap) {
        this.message = message;
        this.bitmap = bitmap;
    }
    public void setProgress(String message,int p){
        this.message = message;
        this.progress = p;
    }
}
